package com.example.tg.Service;

import com.github.pagehelper.PageInfo;
import pojo.PurchaseOrder;
import pojo.Supplier;

import java.util.List;

public interface SupplierService {
    int addSp(Supplier supplier);
    int deleSp(int id);
    int updaSp(Supplier supplier);
    PageInfo listSp(String name,int pageNum,int pageSize);
    int contSp();
    List nameSp();
    Supplier showSp(Integer id);
    Supplier showSp2(String name);


}
